Skip to content

ci: publish the modelparams package to npm#62

Merged
brunobuddy merged 1 commit into
mainfrom
fix/release-tag-only
Jun 9, 2026
Merged

ci: publish the modelparams package to npm#62
brunobuddy merged 1 commit into
mainfrom
fix/release-tag-only

Conversation

@brunobuddy

Copy link
Copy Markdown
Member

💭 Why

The release workflow could never publish. It pushed the version bump to protected main (rejected by branch protection), and CI's npm 10 was too old for the OIDC trusted publisher (ENEEDAUTH).

✨ What changed

  • Tag-only release: publish + tag via the release action, never pushes to main.
  • Version comes from the latest modelparams@x.y.z tag; first release seeds from package.json.
  • CI runs Node 24 (npm 11) so OIDC trusted publishing works.

🔧 For operators

On merge, the workflow auto-publishes modelparams@0.0.1 via the trusted publisher. Future catalog changes publish automatically (patch, or major when a param is removed).

The release workflow could never publish: it pushed the version bump to protected main (rejected by branch protection), and CI's npm 10 was too old for the OIDC trusted publisher (ENEEDAUTH).

- Tag-only release: publish + tag via the release action, never push to main
- Version derived from the latest modelparams@x.y.z tag; first release seeds from package.json
- CI runs Node 24 (npm 11) so OIDC trusted publishing works
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
modelparams.dev Ready Ready Preview Jun 9, 2026 10:07am

Request Review

@github-actions github-actions Bot added the meta Repo docs, CI, and config label Jun 9, 2026
@brunobuddy brunobuddy merged commit eb37a8d into main Jun 9, 2026
5 checks passed
@brunobuddy brunobuddy deleted the fix/release-tag-only branch June 9, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

meta Repo docs, CI, and config

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant